﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace DualityEngine.Business.Camera
{
    public abstract class Camera
    {
        public Matrix projectionmatrix;
        public Matrix viewmatrix;
        public Vector3 cameraposition;
        protected Vector3 lookat;
        protected float aspectRatio;

        protected Camera()
        {
            this.aspectRatio = ((float)ResourceManager.Instance.graphicsdevice.PresentationParameters.BackBufferWidth) / ((float)ResourceManager.Instance.graphicsdevice.PresentationParameters.BackBufferHeight);
            cameraposition = new Vector3(0, 0, 50);
            lookat = new Vector3(0, 0, 10);
        }

        public virtual void Update(GameTime gameTime)
        {
        }
    }
}
